package com.cn.lp.export.server.entity;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by qirong on 2020/10/18.
 */
@Repository
public interface ExportSyncDataDao extends JpaRepository<ExportSyncData, Long> {

    List<ExportSyncData> findByTaskIdOrderBySort(long taskId);

    int deleteByTaskId(long taskId);

}
